const page1 = {
	size:{width:400,height:240},
	elements:[
		{
			x:8,
			y:10,
			h:1,
			type:'TEXT',
			label:'',
			canEditLabel:false,
			labelParams:'',
			joinStr:'#',
			content:'1341234',
			canEditContent:false,
			contentParams:'md-storeNum',
			des:'门店编码/打印张数/打印ID'
		},
		{
			x:150,
			y:10,
			h:1,
			type:'TEXT',
			label:'',
			canEditLabel:false,
			labelParams:'',
			joinStr:'',
			content:'体育中心店铺',
			canEditContent:false,
			contentParams:'md-storeName',
			des:'名店别名，不是产品名称因为又可能产品名称很长'
		},
		{
			x:310,
			y:10,
			h:1,
			type:'TEXT',
			label:'1',
			canEditLabel:false,
			labelParams:'md-currentPage',
			joinStr:'/',
			content:'1',
			canEditContent:false,
			contentParams:'md-allPage',
			des:'当前张数/总张数'
		},
		{
			x:8,
			y:40,
			h:2,
			type:'TEXT',
			label:'菠萝预调液',
			canEditLabel:false,
			labelParams:'productName',
			joinStr:'/',
			content:'2份',
			canEditContent:false,
			contentParams:'md-partNum',
			des:'当前张数/份数'
		},
		{
			x:8,
			y:90,
			h:1,
			type:'TEXT',
			label:'冷藏保存',
			canEditLabel:true,
			labelParams:'saveMethodContent',
			joinStr:'',
			contentOne:'',
			canEditContentOne:true,
			contentOneParams:'dateType',
			contentTwo:'',
			canEditContentTwo:true,
			contentTwoParams:'expiryType',
			content:'24小时',
			canEditContent:true,
			contentParams:'qualityPeriod',
			des:'保存条件自定义'
		},
		{
			x:8,
			y:130,
			h:1,
			type:'TEXT',
			label:'开始时间',
			canEditLabel:true,
			labelParams:'begintimeWord',
			joinStr:':',
			content:'2023.12.13 18:00',
			canEditContent:false,
			contentParams:'md-startTime',
			des:'打印时间'
		},
		{
			x:8,
			y:170,
			h:1,
			type:'TEXT',
			label:'结束时间',
			canEditLabel:true,
			labelParams:'endtimeWord',
			joinStr:':',
			content:'2023.12.14 18:00',
			canEditContent:false,
			contentParams:'md-endTime',
			des:'到期时间'
		},
		{
			x:8,
			y:210,
			h:1,
			type:'TEXT',
			label:'制作人',
			canEditLabel:true,
			labelParams:'producerWord',
			joinStr:':',
			content:'张三',
			canEditContent:false,
			contentParams:'md-makePeople',
			des:'制作人'
		},
	]
};

const page = {
	size:{width:400,height:240},
	elements:[
		{
			x:8,
			y:10,
			h:1,
			type:'TEXT',
			label:'',
			canEditLabel:false,
			labelParams:'',
			joinStr:'#',
			content:'1341234',
			canEditContent:false,
			contentParams:'md-storeNum',
			des:'门店编码/打印张数/打印ID'
		},
		{
			x:310,
			y:10,
			h:1,
			type:'TEXT',
			label:'1',
			canEditLabel:false,
			labelParams:'md-currentPage',
			joinStr:'/',
			content:'2',
			canEditContent:false,
			contentParams:'md-allPage',
			des:'当前张数/总张数'
		},
		{
			x:8,
			y:30,
			h:1,
			type:'TEXT',
			label:'鸡肉测试工具',
			canEditLabel:false,
			labelParams:'productName',
			joinStr:' /',
			content:'2份',
			canEditContent:false,
			contentParams:'md-partNum',
			des:'当前张数/份数'
		},
		{
			x:8,
			y:60,
			h:1,
			type:'TEXT',
			label:'冷藏保存',
			canEditLabel:true,
			labelParams:'saveMethodContent',
			joinStr:'',
			content:'24小时',
			canEditContent:true,
			contentParams:'qualityPeriod',
			des:'保存条件自定义'
		},
		{
			x:8,
			y:90,
			h:1,
			type:'TEXT',
			label:'开始时间',
			canEditLabel:true,
			labelParams:'begintimeWord',
			joinStr:':',
			content:'2023.12.13 18:00',
			canEditContent:false,
			contentParams:'md-startTime',
			des:'打印时间'
		},
		{
			x:8,
			y:120,
			h:1,
			type:'TEXT',
			label:'解冻时间',
			canEditLabel:true,
			labelParams:'thawTimeWord',
			joinStr:':',
			content:'2023.12.13 18:00',
			canEditContent:false,
			contentParams:'md-startTime',
			des:'打印时间'
		},
		{
			x:8,
			y:150,
			h:1,
			type:'TEXT',
			label:'结束时间',
			canEditLabel:true,
			labelParams:'endtimeWord',
			joinStr:':',
			content:'2023.12.14 18:00',
			canEditContent:false,
			contentParams:'md-endTime',
			des:'到期时间'
		},
		{
			x:8,
			y:180,
			h:1,
			type:'TEXT',
			label:'制作人',
			canEditLabel:true,
			labelParams:'producerWord',
			joinStr:':',
			content:'张三',
			canEditContent:false,
			contentParams:'md-makePeople',
			des:'制作人'
		},
	]
};
interface Ele {
	x:number,
	y:number,
	h:number,
	type:'TEXT',
	joinStr:string
	des:string
	contentOne:string,
	contentOneParams:string,
	contentTwo?:string,
	contentTwoParams?:string,
	contentThree?:string,
	contentThreeParams?:string,
	contentFour?:string,
	contentFourParams?:string,
}
// cp:产品中需要的 md：门店打印时候添加的
const page3= {
	size:{width:400,height:240},
	elements:[
		{
			x:8,
			y:10,
			h:1,
			type:'TEXT',
			joinStr:'',
			md_storeNumber:'#1341234',
			des:'门店编码/打印张数/打印ID'
		},
		{
			x:150,
			y:10,
			h:1,
			type:'TEXT',
			joinStr:'',
			md_storeName:'体育中心店铺',
			des:'名店别名，不是产品名称因为又可能产品名称很长'
		},
		{
			x:310,
			y:10,
			h:1,
			type:'TEXT',
			joinStr:'/',
			des:'当前张数/总张数',
			md_currentPage:'1',
			md_allPage:'1',
		},
		{
			x:8,
			y:40,
			h:2,
			type:'TEXT',
			joinStr:'  /',
			des:'当前张数/份数',
			md_productName:'菠萝预调液',
			md_allPage:'2',
			md_unit:'份',
		},
		{
			x:8,
			y:90,
			h:1,
			type:'TEXT',
			joinStr:'',
			des:'保存条件自定义',
			cp_saveMethodContent:'冷藏保存',
			cp_expiryType:'保质期',
			cp_qualityPeriod:'3',
			cp_dateType:'小时',
		},
		{
			x:8,
			y:130,
			h:1,
			type:'TEXT',
			joinStr:':',
			des:'打印时间',
			cp_begintimeWord:'开始时间',
			md_startTime:'2023.12.13 18:00',
		},
		{
			x:8,
			y:170,
			h:1,
			type:'TEXT',
			joinStr:':',
			des:'到期时间',
			cp_endtimeWord:'结束时间',
			md_endTime:'2023.12.14 18:00',
		},
		{
			x:8,
			y:210,
			h:1,
			type:'TEXT',
			joinStr:':',
			des:'制作人',
			cp_producerWord:'制作人',
			md_makePeople:'张三',
		},
	]
};